package com.tkjt.pms.modules.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tkjt.pms.common.entity.TkIndexValue;
import org.springframework.stereotype.Repository;

import java.util.Map;

@Repository
public interface TkIndexValueMapper extends BaseMapper<TkIndexValue> {
    public TkIndexValue selectSumByParam(Map<String, Object> param);

    public Map<String,Double> selectMaxAndMinGrageByParam(Map<String, Object> param);

    public Double selectAverageByParam(Map<String, Object> param);

    public Long caculateNeedCountAndEditCount(Map<String, Object> param);

    public Map<String,Object> getIndexValueMapByParam(Map<String, Object> param);

    public Map<String,Object> getMirrorIndexValueMapByParam(Map<String, Object> param);

}
